#ifndef POSITIONRANKER_H_
#define POSITIONRANKER_H_

//#include "Ranker.h"
#include "../WellSizedVector2.h"
#include <vector>


struct minStruct {
	uint minValue;
	uint pos;
};

class PositionRanker {
public:
	PositionRanker(uint n) : numPalavras(n) {}
	virtual ~PositionRanker() {}
	std::vector<double> getRank(std::vector<WellSizedVector2>);	
	
private:
	struct minStruct getMin(std::vector<PositionVector *> &, std::vector<uint> &);
	bool hasNewPositions();
	
	uint numPalavras;
	std::vector<uint> nextPositions;
};

#endif /*POSITIONRANKER_H_*/
